package club.kingyin.kyblogprofile.core.es;

import java.util.Set;

public interface IkService {

    String WORD = "word";
    String STOP= "stop";

    boolean hasWord(String word);

    boolean hasStop(String stop);

    int addWord(String... words);

    int addStop(String... stops);

    int removeWord(String... words);

    int removeStop(String... stops);

    Set<String> getWords();

    Set<String> getStops();

    Set<String> random(int size);
}
